﻿using com.iot.core.annotation;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Xml.Linq;

namespace com.iot.core.data.entity
{
    [Schema(Name = "研发日志表", Description = "")]     
    public class HtCodeLog : BaseEntity
    {




        [Comment("代码名称")]
        [Schema(Name = "代码名称", Description = "")]
        [MaxLength(20)]
        public string PrjName { get; set; } = "";


        [Comment("关联编号")]
        [Schema(Name = "关联编号", Description = "")]
        public long Bid { get; set; }


        [Comment("类型")]
        [Schema(Name = "类型", Description = "BaseEntity,BaseDto、Action")]
        [MaxLength(50)]
        public string Lx { get; set; } = "";


        [Comment("类名或者Action Url")]
        [Schema(Name = "类名或者Action Url", Description = "")]
        [MaxLength(100)]
        public string FullName { get; set; } = "";


        [Comment("中文名称")]
        [Schema(Name = "中文名称", Description = "")]
        [MaxLength(50)]
        public string Name { get; set; } = "";


        [Comment("内容")]
        [Schema(Name = "内容", Description = "")]
        public string Memo { get; set; } = "";


        [Comment("创建日期")]
        [Schema(Name = "创建日期", Description = "")]
        public DateTime CrtDt { get; set; }

    }
}
